//
//  UIViewController+className.m
//  AppDemo
//
//  Created by 陈一航 on 16/2/29.
//  Copyright © 2016年 陈一航. All rights reserved.
//

#import "UIViewController+className.h"

@implementation UIViewController (className)

+ (UIViewController *)getClass:(NSString *)className;

{
    UIViewController *myObj = [[NSClassFromString(className) alloc] init];
    return myObj;
    
   // return  objc_getClass(className.UTF8String);
    
    
    
    //LSApplicationWorkspace * app = [objc_getClass("LSApplicationWorkspace") defaultWorkspace];
    

}

@end
